import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "./assets/css/reset.css"
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/display.css'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css';
import http from './assets/js/http.js'
import VueLazyload from 'vue-lazyload'
import Cookie from 'js-cookie'



Vue.prototype.$Cookie = Cookie
Vue.prototype.$http = http
Vue.use(ElementUI)
Vue.use(Antd)

Vue.use(VueLazyload, {
  // error: require('./assets/image/R-C.jpg'), //这个是请求失败后显示的图片
  // loading: require('./assets/image/R-C.jpg'), //这个是加载的loading过渡效果
  try: 2  // 这个是加载图片数量
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')